//
//  DoorEventView.h
//  RONGAO
//
//  Created by wei wang on 2017/2/23.
//  Copyright © 2017年 wei wang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DoorEventView : UIView

/** EventBtn **/
@property(nonatomic,strong) UIButton *envetBtn;

/** bottomImageView **/
@property(nonatomic,strong) UIImageView *bottomImageView;

/** leftImageView **/
@property(nonatomic,strong) UIImageView *leftImageView;

/** rightImageView **/
@property(nonatomic,strong) UIImageView *rightImageView;





- (void)setChangeAnimation:(NSUInteger)minCount;

- (void)stopAnimation;

/**
 动画效果

 @param offset 偏移量
 @param completion 结束操作
 @param duration 2.0f
 */
- (void)moveLeftWithOffset: (CGFloat)offset completion: (void(^)(BOOL finished))completion duration: (NSTimeInterval)duration;

/**
 动画效果
 
 @param offset 偏移量
 @param completion 结束操作
 @param duration 2.0f
 */
- (void)moveRightWithOffset: (CGFloat)offset completion: (void(^)(BOOL finished))completion duration: (NSTimeInterval)duration;

- (void)getImageCentX;


@end
